﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Project.Messaging
{
    /// <summary>
    /// 得到消息配置信息
    /// </summary>
    internal class MessageConfig
    {
        /// <summary>
        /// 配置信息实体
        /// </summary>
        public static MessageSection Instance
        {
            get
            {
                return ConfigurationManager.GetSection("MessageSection") as MessageSection
                     ?? new MessageSection();
            }
        }
    }
}
